Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-22438 | GEN004370 | SV-45848r1_rule | ECLP-1 | Medium |
Description |
---|
If the alias file is not group-owned by root or a system group, an unauthorized user may modify the file adding aliases to run malicious code or redirect e-mail. |
STIG | Date |
---|---|
SUSE Linux Enterprise Server v11 for System z | 2012-12-13 |
Check Text ( C-43146r1_chk ) |
---|
Check the group ownership of the alias files. Procedure: for sendmail: # ls -lL /etc/aliases If the file is not group-owned by root, this is a finding. # ls -lL /etc/aliases.db If the file is not group-owned by root, this is a finding. for postfix: Verify the location of the alias file. # postconf alias_maps This will return the location of the "aliases" file. # ls -lL If the file is not group-owned by root, this is a finding. # ls -lL If the file is not group-owned by root, this is a finding. |
Fix Text (F-39232r1_fix) |
---|
Change the group-owner of the /etc/aliases file. Procedure: for sendmail: # chgrp root /etc/aliases # chgrp root /etc/aliases.db The aliases.db file must be owned by the same system group as sendmail, which is smmsp by default. for postfix # chgrp root # chgrp root |